package com.wx.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName(value = "credit_details")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreditDetails {
    @ExcelProperty("姓名")
    private String studentName;

    @ExcelProperty("学号")
    private String studentId;

    @ExcelProperty("年级")
    private String grade;

    @ExcelProperty("班级")
    private String className;

    @ExcelProperty("学分类型")
    private String creditType;

    @ExcelProperty("单位")
    private String unit;

    @ExcelProperty("活动分类")
    private String activityCategory;

    @ExcelProperty("数量")
    private double quantity;

    @ExcelProperty("获取原因")
    private String acquisitionReason;

    @ExcelProperty("发送人")
    private String sender;

    @ExcelProperty("参与时长（分）")
    private double participationDuration;

    @ExcelProperty("参与开始时间")
    private Date startDate;

    @ExcelProperty("参与结束时间")
    private Date endDate;

    @ExcelProperty("获取时间")
    private Date acquisitionDate;

    @ExcelProperty("是否有效")
    private String isValid;
}
